import request from '@/utils/request'

// 查询公交卡
export function extcardList(params) {
    return request({
        url: '/web/ext/extcard/list',
        method: 'post',
        params
    })
}

// 查询公交乘车记录
export function extcardcavalcarelogLs(params) {
    return request({
        url: '/web/ext/extcardcavalcarelog/list',
        method: 'post',
        params
    })
}

// 查询公交充值记录
export function extcardricaricalogLs(params) {
    return request({
        url: '/web/ext/extcardricaricalog/list',
        method: 'post',
        params
    })
}

// 公交卡状态更新
export function extcardUpdate(data) {
    return request({
        url: '/web/ext/extcard/update',
        method: 'post',
        data
    })
}


// 流水统计
export function flowStatistics(params) {
  return request({
    url: '/web/ext/extcardricaricalog/balance',
    method: 'post',
    params
  })
}
